Optimal. Leaf size=68 \[ \frac {1}{3 b \left (a+\frac {b}{x^2}\right )^{3/2} x^3}+\frac {1}{b^2 \sqrt {a+\frac {b}{x^2}} x}-\frac {\tanh ^{-1}\left (\frac {\sqrt {b}}{\sqrt {a+\frac {b}{x^2}} x}\right )}{b^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {342, 294, 223,
212} \begin {gather*} -\frac {\tanh ^{-1}\left (\frac {\sqrt {b}}{x \sqrt {a+\frac {b}{x^2}}}\right )}{b^{5/2}}+\frac {1}{b^2 x \sqrt {a+\frac {b}{x^2}}}+\frac {1}{3 b x^3 \left (a+\frac {b}{x^2}\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 223
Rule 294
Rule 342
Rubi steps
\begin {align*} \int \frac {1}{\left (a+\frac {b}{x^2}\right )^{5/2} x^6} \, dx &=-\text {Subst}\left (\int \frac {x^4}{\left (a+b x^2\right )^{5/2}} \, dx,x,\frac {1}{x}\right )\\ &=\frac {1}{3 b \left (a+\frac {b}{x^2}\right )^{3/2} x^3}-\frac {\text {Subst}\left (\int \frac {x^2}{\left (a+b x^2\right )^{3/2}} \, dx,x,\frac {1}{x}\right )}{b}\\ &=\frac {1}{3 b \left (a+\frac {b}{x^2}\right )^{3/2} x^3}+\frac {1}{b^2 \sqrt {a+\frac {b}{x^2}} x}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {a+b x^2}} \, dx,x,\frac {1}{x}\right )}{b^2}\\ &=\frac {1}{3 b \left (a+\frac {b}{x^2}\right )^{3/2} x^3}+\frac {1}{b^2 \sqrt {a+\frac {b}{x^2}} x}-\frac {\text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {1}{\sqrt {a+\frac {b}{x^2}} x}\right )}{b^2}\\ &=\frac {1}{3 b \left (a+\frac {b}{x^2}\right )^{3/2} x^3}+\frac {1}{b^2 \sqrt {a+\frac {b}{x^2}} x}-\frac {\tanh ^{-1}\left (\frac {\sqrt {b}}{\sqrt {a+\frac {b}{x^2}} x}\right )}{b^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 80, normalized size = 1.18 \begin {gather*} \frac {\sqrt {b} \left (4 b+3 a x^2\right )-3 \left (b+a x^2\right )^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b+a x^2}}{\sqrt {b}}\right )}{3 b^{5/2} \sqrt {a+\frac {b}{x^2}} x \left (b+a x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 77, normalized size = 1.13
method | result | size |
default | \(-\frac {\left (a \,x^{2}+b \right ) \left (-3 b^{\frac {3}{2}} a \,x^{2}+3 \ln \left (\frac {2 b +2 \sqrt {b}\, \sqrt {a \,x^{2}+b}}{x}\right ) \left (a \,x^{2}+b \right )^{\frac {3}{2}} b -4 b^{\frac {5}{2}}\right )}{3 \left (\frac {a \,x^{2}+b}{x^{2}}\right )^{\frac {5}{2}} x^{5} b^{\frac {7}{2}}}\) | \(77\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 73, normalized size = 1.07 \begin {gather*} \frac {\log \left (\frac {\sqrt {a + \frac {b}{x^{2}}} x - \sqrt {b}}{\sqrt {a + \frac {b}{x^{2}}} x + \sqrt {b}}\right )}{2 \, b^{\frac {5}{2}}} + \frac {3 \, {\left (a + \frac {b}{x^{2}}\right )} x^{2} + b}{3 \, {\left (a + \frac {b}{x^{2}}\right )}^{\frac {3}{2}} b^{2} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 226, normalized size = 3.32 \begin {gather*} \left [\frac {3 \, {\left (a^{2} x^{4} + 2 \, a b x^{2} + b^{2}\right )} \sqrt {b} \log \left (-\frac {a x^{2} - 2 \, \sqrt {b} x \sqrt {\frac {a x^{2} + b}{x^{2}}} + 2 \, b}{x^{2}}\right ) + 2 \, {\left (3 \, a b x^{3} + 4 \, b^{2} x\right )} \sqrt {\frac {a x^{2} + b}{x^{2}}}}{6 \, {\left (a^{2} b^{3} x^{4} + 2 \, a b^{4} x^{2} + b^{5}\right )}}, \frac {3 \, {\left (a^{2} x^{4} + 2 \, a b x^{2} + b^{2}\right )} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x \sqrt {\frac {a x^{2} + b}{x^{2}}}}{a x^{2} + b}\right ) + {\left (3 \, a b x^{3} + 4 \, b^{2} x\right )} \sqrt {\frac {a x^{2} + b}{x^{2}}}}{3 \, {\left (a^{2} b^{3} x^{4} + 2 \, a b^{4} x^{2} + b^{5}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 740 vs.
\(2 (58) = 116\).
time = 1.83, size = 740, normalized size = 10.88 \begin {gather*} \frac {3 a^{3} b^{4} x^{6} \log {\left (\frac {a x^{2}}{b} \right )}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} - \frac {6 a^{3} b^{4} x^{6} \log {\left (\sqrt {\frac {a x^{2}}{b} + 1} + 1 \right )}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} + \frac {6 a^{2} b^{5} x^{4} \sqrt {\frac {a x^{2}}{b} + 1}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} + \frac {9 a^{2} b^{5} x^{4} \log {\left (\frac {a x^{2}}{b} \right )}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} - \frac {18 a^{2} b^{5} x^{4} \log {\left (\sqrt {\frac {a x^{2}}{b} + 1} + 1 \right )}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} + \frac {14 a b^{6} x^{2} \sqrt {\frac {a x^{2}}{b} + 1}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} + \frac {9 a b^{6} x^{2} \log {\left (\frac {a x^{2}}{b} \right )}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} - \frac {18 a b^{6} x^{2} \log {\left (\sqrt {\frac {a x^{2}}{b} + 1} + 1 \right )}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} + \frac {8 b^{7} \sqrt {\frac {a x^{2}}{b} + 1}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} + \frac {3 b^{7} \log {\left (\frac {a x^{2}}{b} \right )}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} - \frac {6 b^{7} \log {\left (\sqrt {\frac {a x^{2}}{b} + 1} + 1 \right )}}{6 a^{3} b^{\frac {13}{2}} x^{6} + 18 a^{2} b^{\frac {15}{2}} x^{4} + 18 a b^{\frac {17}{2}} x^{2} + 6 b^{\frac {19}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.28, size = 93, normalized size = 1.37 \begin {gather*} -\frac {{\left (3 \, \sqrt {b} \arctan \left (\frac {\sqrt {b}}{\sqrt {-b}}\right ) + 4 \, \sqrt {-b}\right )} \mathrm {sgn}\left (x\right )}{3 \, \sqrt {-b} b^{\frac {5}{2}}} + \frac {\arctan \left (\frac {\sqrt {a x^{2} + b}}{\sqrt {-b}}\right )}{\sqrt {-b} b^{2} \mathrm {sgn}\left (x\right )} + \frac {3 \, a x^{2} + 4 \, b}{3 \, {\left (a x^{2} + b\right )}^{\frac {3}{2}} b^{2} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{x^6\,{\left (a+\frac {b}{x^2}\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________